<template>
    <div class="boxcard">
        <span class="text">Color Utilities</span>
        <p>Bootstrap's default utility classes can be found on the official <a
                href="https://getbootstrap.com/docs">Bootstrap Documentation</a> page. The custom utilities
            below were created to extend this theme past the default utility classes built into Bootstrap's
            framework. </p>
        <el-row>
            <el-col :span="24" :md="{ span: 8 }">
                <div class="color_box">
                    <div class="box_text">
                        Custom Text Color Utilities
                    </div>
                    <div class="greybox">
                        <div v-for="item in textgray" :key="item" :class="item">.{{item}}</div>
                    </div>
                    <div class="greybox b_gbox">
                        <div v-for="item in textgray_five" :key="item" :class="item">.{{item}}</div>
                    </div>
                </div>
                <div class="color_box s_height">
                    <div class="box_text">
                        Custom Font Size Utilities
                    </div>
                    <div class="text-gray-500 s_text">.text-xs</div>
                    <div class="text-gray-600 l_text">.text-lg</div>
                </div>

            </el-col>
            <el-col :span="24" :md="{ span: 8 }">
                <div class="color_box l_height">
                    <div class="box_text b_textbox">
                        Custom Background Gradient Utilities
                        <div v-for="item in bg_gradient" :key="item.name" :class="item.class">{{item.name}}</div>
                    </div>
                </div>
            </el-col>
            <el-col :span="24" :md="{ span: 8 }">
                <div class="color_box m_height">
                    <div class="box_text b_textbox">
                        Custom Grayscale Background Utilities
                    </div>
                    <div v-for="item in bg_gray" :key="item.name" :class="item.class">{{item.name}}</div>
                </div>
            </el-col>
        </el-row>
    </div>
</template>

<script>
import { textgray,textgray_five,bg_gray,bg_gradient } from "../../utils/common_date"
export default {
    name: 'color',
    data(){
        return{
            textgray,
            textgray_five,
            bg_gray,
            bg_gradient
        }
    }

}
</script>

<style scoped lang="less">
@import '../../assets/less/common.less';
p {
    padding: 0 15px;
    color: rgb(136, 139, 157);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}
p>a {
    text-decoration: none;
}
.color_box {
    width: 90%;
    height: 538px;
    margin-left: 20px;
    box-shadow: 0px 0px 18px 18px rgba(207, 207, 207, 0.4);
    border-radius: 5px;
}

.box_text {
    height: 20px;
    color: rgb(78, 115, 223);
    font-size: 16px;
    font-weight: 600;
    line-height: 19.2px;
    background-color: rgb(248, 249, 252);
    padding: 15px;
    border-bottom: 1px solid rgba(207, 207, 207, 0.4);
}

.greybox {
    width: 75%;
    height: 210px;
    margin: 20px 20px 0 20px;
    background-color: rgb(90, 92, 105);
    color: rgb(221, 223, 235);
    line-height: 50px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400
}

.b_gbox {
    background-color: rgb(255, 255, 255);
    margin: 0 20px;
    padding: 0 20px 0 20px;
}

.text-gray-100 {
    color: rgb(248, 249, 252);
}

.text-gray-200 {
    color: rgb(234, 236, 244);
}

.text-gray-300 {
    color: rgb(221, 223, 235);
}

.text-gray-400 {
    color: rgb(209, 211, 226);
}

.text-gray-500 {
    color: rgb(183, 185, 204);
}

.text-gray-600 {
    color: rgb(133, 135, 150);
}

.text-gray-700 {
    color: rgb(110, 112, 126);
}

.text-gray-800 {
    color: rgb(90, 92, 105);
}

.text-gray-900 {
    color: rgb(58, 59, 69);
}

.s_height {
    height: 150px;
    margin-top: 20px;
    line-height: 40px;
    font-size: 11px;
    font-weight: 400
}

.l_text {
    margin-left: 20px;
    font-size: 20px;
    font-weight: 500
}

.s_text {
    margin-left: 20px;
}

.b_textbox {
    height: 30px;
    margin-top: 20px;
}

.blue {
    width: 85%;
    height: 120px;
    margin: 30px 0 0 0;
    background-color: rgb(78, 115, 223);
    background-image: linear-gradient(rgb(78, 115, 223) 10%, rgb(34, 74, 190) 100%);
    color: rgb(255, 255, 255);
    line-height: 100px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400
}

.grey {
    background-color: rgb(133, 135, 150);
    background-image: linear-gradient(rgb(133, 135, 150) 10%, rgb(96, 97, 111) 100%);
    margin: 0;
}

.green {
    background-color: rgb(28, 200, 138);
    margin: 0;
    background-image: linear-gradient(rgb(28, 200, 138) 10%, rgb(19, 133, 92) 100%)
}

.bluegreen {
    background-color: rgb(54, 185, 204);
    margin: 0;
    background-image: linear-gradient(rgb(54, 185, 204) 10%, rgb(37, 131, 145) 100%)
}

.yellow {
    background-color: rgb(246, 194, 62);
    margin: 0;
    background-image: linear-gradient(rgb(246, 194, 62) 10%, rgb(221, 162, 10) 100%)
}

.red {
    background-color: rgb(231, 74, 59);
    margin: 0;
    background-image: linear-gradient(rgb(231, 74, 59) 10%, rgb(190, 38, 23) 100%)
}

.white {
    background-color: rgb(248, 249, 252);
    margin: 0;
    background-image: linear-gradient(rgb(248, 249, 252) 10%, rgb(194, 203, 229) 100%)
}

.black {
    background-color: rgb(90, 92, 105);
    margin: 0;
    background-image: linear-gradient(rgb(90, 92, 105) 10%, rgb(55, 56, 64) 100%)
}

.l_height {
    height: 1050px;
}

.bg-gray {
    width:75%;
    height: 50px;
    margin: 20px 20px 0 20px;
    background-color: rgb(248, 249, 252);
    color: rgb(133, 135, 150);
    line-height: 50px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400
}

.bg-gray-200 {
    background-color: rgb(234, 236, 244);
    margin: 0 20px;
}

.bg-gray-300 {
    background-color: rgb(221, 223, 235);
    margin: 0 20px;
}

.bg-gray-400 {
    background-color: rgb(209, 211, 226);
    margin: 0 20px;
}

.bg-gray-500 {
    background-color: rgb(183, 185, 204);
    margin: 0 20px;
    color: rgb(255, 255, 255)
}

.bg-gray-600 {
    background-color: rgb(133, 135, 150);
    margin: 0 20px;
    color: rgb(255, 255, 255)
}

.bg-gray-700 {
    background-color: rgb(110, 112, 126);
    margin: 0 20px;
    color: rgb(255, 255, 255)
}

.bg-gray-800 {
    background-color: rgb(90, 92, 105);
    margin: 0 20px;
    color: rgb(255, 255, 255)
}

.bg-gray-900 {
    background-color: rgb(58, 59, 69);
    margin: 0 20px;
    color: rgb(255, 255, 255)
}

.m_height {
    height: 570px;
}
</style>